.wrapper {
    /* 固定定位 窗口滚动也不会移动 */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* 渐变背景 */
    background: linear-gradient(200deg, #7e7c7d, #8c8e84);
    ;
    /* 将元素剪切为一个圆形【25px表示圆的直径】【calc(100% - 45px) 45px表示圆心】 */
    clip-path: circle(25px at calc(100% - 45px) 45px);
    /* 过渡动画 */
    transition: all 0.3s ease-in-out;
}

.menu-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    z-index: 2;
    /* 渐变背景 */
    background: linear-gradient(200deg, #7e7e7c, #8c8e84);
    width: 115px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    border-radius: 50px;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    /* 这里也加个过渡动画 */
    transition: all 0.3s ease;
}

/* 把复选框隐藏 */
#menu_btn {
    display: none;
}

#menu_btn:checked~.wrapper {
    /* 将元素剪切为一个圆形 75%表示圆的直径 */
    clip-path: circle(75%);
}

#menu_btn:checked~.menu-btn {
    color: #7e7c7d;
    background: #fff;
}

/* 当复选框为选中态时，改变图标 */
#menu_btn:checked~.menu-btn i::before {
    content: "\f00d";
}

.wrapper ul {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    list-style: none;
    text-align: center;
}

.wrapper ul li {
    margin: 30px 0px;
}

.wrapper ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 30px;
    font-weight: 500;
    padding: 5px 50px;
    position: relative;
    line-height: 50px;
}

.wrapper ul li a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 50px;
    background: #fff;
    z-index: -1;
    border-radius: 50px;
    left: 0px;
    transform: scaleY(0);
    /* 加个动画过渡 */
    transition: transform 0.3s ease;
}

.wrapper ul li a:hover::after {
    transform: scaleY(1);
}

.wrapper ul li a:hover {
    color: #d576ba;
}






.game_curtain {
    width: 100%;
    height: 100%;
    background-color: #8d8a8a;
    position: absolute;
}



.rankings_face {
    width: 550px;
    height: 700px;
    background-color: #a59185;
    border: 10px solid #8f7a66;
    border-radius: 20px;
    position: relative;
    margin: 150px auto;
}

header {
    display: block;
    margin: 0 auto;
    width: 100%;
    text-align: center;
}

header h1 {
    font-size: 60px;
    font-weight: bold;
}

header #newgamebutton {
    display: block;
    margin: 20px auto;

    width: 100px;
    padding: 10px 10px;
    background-color: #8f7a66;

    color: white;

    border-radius: 10px;

    text-decoration: none;
}

header #newgamebutton:hover {
    background-color: #9f8b77;
}

header p {
    font-size: 25px;
    margin: 20px auto;
}

#grid-container {
    width: 505px;
    height: 503px;
    padding: 20px;

    margin: 50px auto;
    background-color: #bbada0;

    border-radius: 10px;
    position: relative;
}

.grid-cell {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    background-color: #ccc0b3;

    position: absolute;
}

.number-cell {
    border-radius: 6px;

    font-weight: bold;
    font-size: 60px;
    line-height: 100px;
    text-align: center;
    box-shadow: 8px 8px rgba(97, 95, 95, 0.6);
    position: absolute;
}

.game-randings {
    width: 500px;
    height: 700px;
    border: 10px solid #fff;
    border-radius: 30px;
}

.table-game {
    border-collapse: separate;
    border-spacing: 0 10px;
    margin: -10px 0;
}

.table-game thead th {
    font-size: 25px;
    color: #cbbab0;
}

.table-game thead th,
.table-game tbody td {
    border-left: 0;
    border-right: 0;
    vertical-align: middle;
}

.table-game thead th:first-child,
.table-game tbody td:first-child {
    border-radius: 10px 0 0 10px;
    padding-left: 30px;
}

.table-game thead th:last-child,
.table-game tbody td:last-child {
    border-radius: 0 10px 10px 0;
    padding-right: 30px;
}

.table-game thead th .checkbox,
.table-game tbody td .checkbox {
    margin: -27px 0 0;
}

.table-gametr:last-of-type .action-option {
    top: unset;
    bottom: 10px;
}

.table-game tr:last-of-type .action-option:before {
    top: unset;
    bottom: 10px;
}

/* 
.table-game {
    width: 500px;
    height: 700px;
    border-radius: 0px;
    font-size: 25px;
    font-weight: normal;
}

.table-game thead th,
.table-game thead td,
.table-game tbody th,
.table-game tbody td {
    color: #ffffff;
    border: none;
} */